package com.example.pluginmanager.service;

import com.common.request.PageParam;
import com.common.result.PageVO;
import com.example.pluginmanager.entity.LoginUser;
import com.example.pluginmanager.entity.User;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface UserService {
    void generateValidateCode(HttpServletResponse response) throws IOException;

    String login(LoginUser loginUser);

    User getUserByUsername(String username);

    void loginOut(String accessToken);

    PageVO<User> listUserByPage(PageParam<User> pageParam);
}
